﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class drug_trolley : System.Web.UI.Page
{
    DataClassesDataContext db = new DataClassesDataContext();

   
    protected void btnEmpty_Click(object sender, EventArgs e)
    {

    }
    protected void btnDelete_Click1(object sender, EventArgs e)
    {

    }

    protected void gvProshow_SelectedIndexChanged(object sender, EventArgs e)
    {

    }
    protected void gvProshow_RowDataBound(object sender, GridViewRowEventArgs e)
    {
        if (e.Row.RowType == DataControlRowType.DataRow)
        {
            try
            {
                LinkButton lnkbtnDelete = (LinkButton)e.Row.Cells[2].Controls[0];
                lnkbtnDelete.OnClientClick = "return confirm('删除药品" + e.Row.Cells[1].Text + "吗？')";
            }
            catch
            {
            }
        }
    }
}